SoftShadowScene Class Reference

#include <SoftShadowScene.h>

Inheritance diagram for SoftShadowScene:

Scene

List of all members.

Public Member Functions

 SoftShadowScene (void)
 ~SoftShadowScene (void)
virtual void initScene (GameManager &_manager)
virtual void clearScene ()
virtual void renderScene (float fElapsedTime)
virtual NodecreateNode (int type, Node &father, bool addDefaultRenderer, bool isReference)
void updateCamera (float dt)
void setupGUI ()
void setDialogResourceManager (CDXUTDialogResourceManager *DialogResourceManager)
void setGUI (CDXUTDialog *GUI)
virtual void OnGUIEvent (UINT nEvent, int nControlID, CDXUTControl *pControl, void *pUserContext)
void renderGUI (float fElapsedTime)
void switchGUI ()

Public Attributes

SkyBoxskybox
std::vector< Object3d * > sceneObjectList
int iCurrentSceneId
LowMemLightlight

Protected Attributes

CDXUTDialogResourceManager * DialogResourceManager
CDXUTDialog * GUI
bool bGUIVisible
bool bFirstGUIRendering

Friends

class ShadowSceneLoader


Detailed Description

SoftShadowScene class

Constructor & Destructor Documentation

SoftShadowScene::SoftShadowScene ( void   ) 

Constructor for SoftShadowScene object

SoftShadowScene::~SoftShadowScene ( void   ) 

Destructor for SoftShadowScene object


Member Function Documentation

void SoftShadowScene::initScene ( GameManager _manager  )  [virtual]

SoftShadowScene initialization

Reimplemented from Scene.

void SoftShadowScene::clearScene (  )  [virtual]

clear SoftShadowScene data

Reimplemented from Scene.

void SoftShadowScene::renderScene ( float  fElapsedTime  )  [virtual]

Render SoftShadowScene

Reimplemented from Scene.

Node * SoftShadowScene::createNode ( int  type,
Node father,
bool  addDefaultRenderer,
bool  isReference 
) [virtual]

Create a node in this scene

Reimplemented from Scene.

void SoftShadowScene::updateCamera ( float  dt  ) 

Updates the Camera depending on the user input

void SoftShadowScene::setupGUI (  ) 

sets up the GUI

void SoftShadowScene::setDialogResourceManager ( CDXUTDialogResourceManager *  DialogResourceManager  ) 

Setter for the GUI ResourceManager

void SoftShadowScene::setGUI ( CDXUTDialog *  GUI  ) 

Setter for the GUI Object

void SoftShadowScene::OnGUIEvent ( UINT  nEvent,
int  nControlID,
CDXUTControl *  pControl,
void *  pUserContext 
) [virtual]

Event handling for GUI elements

Reimplemented from Scene.

void SoftShadowScene::renderGUI ( float  fElapsedTime  ) 

render the GUI

void SoftShadowScene::switchGUI (  ) 

turn GUI on/off


Member Data Documentation

SkyBox* SoftShadowScene::skybox

SkyBox object

std::vector<Object3d*> SoftShadowScene::sceneObjectList

List of Objects in the scene

int SoftShadowScene::iCurrentSceneId

Current Scene ID

LowMemLight* SoftShadowScene::light

The Light Source

CDXUTDialogResourceManager* SoftShadowScene::DialogResourceManager [protected]

dialog resource manager for the DirectX GUI

CDXUTDialog* SoftShadowScene::GUI [protected]

the directX GUI

bool SoftShadowScene::bGUIVisible [protected]

boolean for GUI visibility

bool SoftShadowScene::bFirstGUIRendering [protected]

boolean which indicates the first rendering of the GUI


The documentation for this class was generated from the following files:
Generated on Sun Oct 7 01:15:32 2007 for Adaptive Soft Shadows by  doxygen 1.5.3